package query.select

import ast.statement.select.SqlSelect
import ast.statement.select.SqlSelectQuery
import database.DBConnection
import expr.DB
import java.sql.Connection

class NativeSelect(
    var db: DB = DB.MYSQL,
    var sql: String,
    override var conn: Connection? = null,
    override var isTransaction: Boolean = false,
    override var dbConnection: DBConnection? = null
) : SelectQueryImpl() {
    override fun getSelect(): SqlSelectQuery {
        return SqlSelect()
    }

    override fun getDbType(): DB {
        return db
    }

    override fun sql(): String {
        return this.sql
    }
}